var app = getApp();
Page({

  /**
   * 页面的初始数据
   */
  data: {
    // 轮播数据
    swiper: {
      indicatorDots: true,
      autoplay: true,
      interval: 3000,
      duration: 500,
      imgUrls: []
    },
    title:"山西省人民医院",
    subtitle:"副标题",
    detail:"但是快捷方式的空间发凯撒的龙卷风看拉萨的肌肤卡仕达酱翻开历史顶级了"
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {
    var that = this;
    var id = options.id;
    that.getPianxinxixq(id);
  },
  getPianxinxixq:function(id){
    var that = this;
    app.util.request({
      'url': 'entry/wxapp/Pianxinxixq',
      'data':{
        id:id
      },
      success: function (res) {
        that.setData({
          pianxinxi: res.data.data,
        });
      },
    })
  },
  
  /**
   * 用户点击右上角分享
   */
  onShareAppMessage: function () {
  
  }
})